package site.wanjiahao.message.response;

import lombok.Data;
import lombok.NoArgsConstructor;
import site.wanjiahao.message.AbstractResponseMessage;

import java.util.Set;

@Data
@NoArgsConstructor
public class ListGroupsResponseMessage extends AbstractResponseMessage {

    private Set<String> groups;

    public ListGroupsResponseMessage(Set<String> groups) {
        this.groups = groups;
    }

    @Override
    public int getMessageType() {
        return GROUP_LIST_RESPONSE_ID;
    }
}
